package com.utility.project.param;

import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value="ExperienceParam", description="用户使用次数参数")
public class ExperienceParam implements Serializable {

    @Schema(description = "用户id,对应于小程序openId", required = true)
    private String userId;

    @Schema(description = "使用次数对应的场景详情", required = true)
    private String detail;

    @Schema(description = "试题id,用于试题展示是否解锁", required = true)
    private String paperId;

    @Schema(description = "本次使用需要消耗的次数", required = true)
    private Integer useNums;

}
